package com.demo.webservice;

import com.bootlever.framework.core.BootleverApplicationStarter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Starter extends BootleverApplicationStarter{

    private static final Logger logger = LoggerFactory.getLogger(Starter.class);

    public static void main(String[] args) throws Exception {
        Starter starter = new Starter();
        starter.run(args);
    }

    @Override
    protected void before() {
        logger.info("app 启动前要做的事情");
        super.before();
    }

    @Override
    protected void after() {
        logger.info("app 启动后要做的事情");
    }
}
